package project3.datasets;

import java.util.Iterator;

/**
 * Represents a dataset - A dataset is composed by:
 * 1) An array of attributes representing the column types and
 * 2) a list of instances (rows)
 *
 * @author Antonio
 * @author Vika
 */
public interface DataSet extends Iterable<Instance> {

	/**
	 * @return Returns the dataset's size
	 */
	int size();
	
	/**
	 * @return Returns all attributes.
	 */
	Attribute[] getAttributes();
	
	/**
	 * @return Returns the instance's iterator.
	 */
	Iterator<Instance> iterator();
}